import mockReq from "./request";
// export const api=async ()=>{}
export const mockGetAgendaList = async () => {
    try {

        let res = await mockReq({
            url: "/agenda/list",
            method: "get",
        });
        if (res.code == "200") {
            return res.data
        } else {

        }
        return res;
    } catch (e) {
        console.log("mockGetAgendaList error" + e.message);
    }

}
export const mockGetHighlightAnimationNum = async () => {
    try {
        let res = await mockReq({
            url: "/highLight/showNum",
            method: "get",
        })
        if (res.code == "200") {
            return res.data
        } else {
            throw new Error(res.msg)
        }
    } catch (e) {
        console.log("mockGetHighlightAnimationNum error" + e.message);

    }
}